package com.cm386.final_project_timezonealert.model;

import java.util.TimeZone;

public class ReferenceCity extends City {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int indexInSelectedCities;
	private int referenceHour;
	private int referenceMinute;
	
	public ReferenceCity(String name, String timeZoneId, TimeZone timeZone,
			String belongRegion, Weather weather, int index, int referenceHour, int referenceMinute){
		this(name, timeZoneId, timeZone, belongRegion, weather);
		this.indexInSelectedCities = index;
		this.referenceHour 	       = referenceHour;
		this.referenceMinute	   = referenceMinute;
	}
	
	public ReferenceCity(String name, String timeZoneId, TimeZone timezone, String belongRegion, int index, int referenceHour, int referenceMinute){
		this(name, timeZoneId, timezone, belongRegion);
		indexInSelectedCities = index;
		this.referenceHour 		   = referenceHour;
		this.referenceMinute	   = referenceMinute;
	}
	
	private ReferenceCity(String name, String timeZoneId, TimeZone timeZone,
			String belongRegion) {
		super(name, timeZoneId, timeZone, belongRegion);
	}
	
	private ReferenceCity(String name, String timeZoneId, TimeZone timeZone,
			String belongRegion, Weather weather) {
		super(name, timeZoneId, timeZone, belongRegion, weather);
		// TODO Auto-generated constructor stub
	}

	public int getIndexInSelectedCities() {
		return indexInSelectedCities;
	}

	public void setIndexInSelectedCities(int indexInSelectedCities) {
		this.indexInSelectedCities = indexInSelectedCities;
	}

	public int getReferenceHour() {
		return referenceHour;
	}

	public void setReferenceHour(int referenceHour) {
		this.referenceHour = referenceHour;
	}

	public int getReferenceMinute() {
		return referenceMinute;
	}

	public void setReferenceMinute(int referenceMinute) {
		this.referenceMinute = referenceMinute;
	}
}
